package com.roocon.thread.daemon;

public class ProgramDemo {
 
    public static void main(String[] args) {
        TestThread t1 = new TestThread();
        t1.setDaemon(true);
        t1.start();
    }
 
    private static class TestThread extends Thread {
        public void run() {
            System.out.println("test");
        }
    }
}